package com.sendi.mobilework.datamodel;

import java.util.List;

/**
 * 工作流程
 * Created by Administrator on 2017/3/22.
 */

public class Workflow {

    private List<RecordBean> record;

    @Override
    public String toString() {
        return "Workflow[" +
                "record=" + record +
                ']';
    }

    public List<RecordBean> getRecord() {
        return record;
    }

    public void setRecord(List<RecordBean> record) {
        this.record = record;
    }

    public static class RecordBean {
        @Override
        public String toString() {
            return "RecordBean{" +
                    "department='" + department + '\'' +
                    ", worker_name='" + worker_name + '\'' +
                    ", content='" + content + '\'' +
                    ", apply_time='" + apply_time + '\'' +
                    ", status='" + status + '\'' +
                    '}';
        }

        /**
         * department : 技术部
         * worker_name : worker
         * content : 回家吃饭
         * apply_time : 2017-04-10
         * status : 同意
         */

        public String department;
        public String worker_name;
        public String content;
        public String apply_time;
        public String status;
        public String id;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getDepartment() {
            return department;
        }

        public void setDepartment(String department) {
            this.department = department;
        }

        public String getWorker_name() {
            return worker_name;
        }

        public void setWorker_name(String worker_name) {
            this.worker_name = worker_name;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getApply_time() {
            return apply_time;
        }

        public void setApply_time(String apply_time) {
            this.apply_time = apply_time;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }
    }
}
